//
//  UIWebViewController.h
//  WZBlogMagazine
//
//  Created by Sunny on 11-11-22.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Blog;

@interface UIWebViewController : UIViewController<UIWebViewDelegate> {
    UIWebView* webView;
    
    UIActivityIndicatorView *activityIndicator;
    
    int pageNumber;
    
    int clickToPageNumber;
}

@property (nonatomic, retain) IBOutlet UIWebView* webView;
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView* activityIndicator;
@property (nonatomic) int pageNumber;
@property (nonatomic) int clickToPageNumber;

// load the view nib and initialize the pageNumber ivar
- (id)initWithPageNumber:(int)page;

- (void)dataLoad:(Blog*)blog;

- (void)webViewDidStartLoad:(UIWebView *)webView;
- (void)webViewDidFinishLoad:(UIWebView *)webView;

- (void)click;

@end
